<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}
.select_width {
	width: 130px;
}
</style>
<input type="hidden" name="organization/whether_is_gaoxin_value" value="<x:out select="$xmlData/data/organization/whether_is_gaoxin_value" />"/>
<input type="hidden" name="organization/whether_industrial_base_value" value="<x:out select="$xmlData/data/organization/whether_industrial_base_value" />"/>
<input type="hidden" name="organization/whether_is_province_value" value="<x:out select="$xmlData/data/organization/whether_is_province_value" />"/>
<input type="hidden" name="proposal/contact_psn_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel"/>"/>
<input type="hidden" name="proposal/contact_psn_email" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email"/>"/>


<table class="t_css table01" id="table_1" width="100%" border="0" cellpadding="0" id="basicInfo" cellspacing="1">
	<col style="width: 20%" />
	<col style="width: 30%" />
	<col style="width: 20%" />
	<col style="width: 30%" />

	<tr>
		<td colspan="4" class="t_bar2">项目基本情況</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3"><input type="text" id="zh_title" name="proposal/zh_title" label="项目名称" class="input_css required maxlength:100" 
			style="width:80%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>    
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span>孵化器名称：</td>
		<td colspan="3"><input type="text" id="fuhuaqi_name" name="proposal/fuhuaqi_name" label="孵化器名称" class="input_css required maxlength:100" 
			style="width:80%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/fuhuaqi_name" />" /></td>    
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>申报时间：</td>
		<td colspan="3"> <c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="apply_date_curr"  name="proposal/submit_date" value="${submit_date}" className="required date" label="申报时间" ></cpt:date> 
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span>孵化器性质：</td>
 		 <td colspan="3">
          	<label> <input type="radio" class="do"  id="" onclick="changeFhq();" style="vertical-align: middle;" name="fuhuaqi_nature" label="事业" value="01" />
          		<span style="vertical-align: middle;">事业</span></label> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			
			<label> <input type="radio" class="do" id="" onclick="changeFhq();" style="vertical-align: middle;" name="fuhuaqi_nature" label="企业 " value="02" />
				<span style="vertical-align: middle;">企业</span></label> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            
 			<label> <input type="radio" class="do" id="" onclick="changeFhq();" style="vertical-align: middle;" name="fuhuaqi_nature" label="民间组织 " value="03" />
				<span style="vertical-align: middle;">民间组织</span></label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        
            
			<label> <input type="radio" class="do" id="other04" onclick="changeFhq();" style="vertical-align: middle;" name="fuhuaqi_nature" label="其它 " value="04" />
				<span style="vertical-align: middle;">其它</span></label>	           
            
            <input type="text" id="fuhuaqi_nature_other" name="proposal/fuhuaqi_nature_other" class="gray " maxlength="50" label="孵化器性质-->其他" disabled="disabled" value="<x:out select="$xmlData/data/proposal/fuhuaqi_nature_other" />"/>
            <input type="hidden" id="fuhuaqi_nature_value"  name="proposal/fuhuaqi_nature_value" type="text" label="孵化器性质"  class="required"  value="<x:out select="$xmlData/data/proposal/fuhuaqi_nature_value" />" />
            <input type="hidden" name="proposal/fuhuaqi_nature_name" value="<x:out select="$xmlData/data/proposal/fuhuaqi_nature_name" />" />
          </td>
	</tr>

	<tr>
		<td align="right"><span class="color_red">*</span>孵化器类型：</td>
		<td colspan="3">
 			<c:set var="fuhuaqi_type_value"><x:out select="$xmlData/data/proposal/fuhuaqi_type_value" /></c:set> 
			<cpt:checkbox key="fuhuaqi_type" name="proposal/fuhuaqi_type" width="70px" repeatColumn="2" value="${fuhuaqi_type_value }" tagType="radio"></cpt:checkbox>
			<input type="hidden" id="fuhuaqi_type_value" name="proposal/fuhuaqi_type_value" class="required" value="${fuhuaqi_type_value}" label="孵化器类型"> 
			<input type="hidden" name="proposal/fuhuaqi_type_name" value="<x:out select="$xmlData/data/proposal/fuhuaqi_type_name" />">
		</td>
	</tr>
	<tr style="display:none"></tr>
	<tr>
		<td align="right"><span class="color_red">*</span>运营主体 ：</td>
		<td colspan="3"><input type="text" id="yunyingzhuti" name="proposal/yunyingzhuti" label="运营主体" class="input_css required maxlength:100" 
			style="width:80%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/yunyingzhuti" />" /></td>    
	</tr>
	
	<tr>
		<td align="right"> <span class="color_red">*</span>归口管理部门：</td>
		<td colspan="3">
		    <c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set> 
		    <cpt:tree id="recomend_org" key="recomend_org_gk" cacheable="false" className="hn_iuput_kuang required selectWidth3" readonly="true" value="${recomend_org}" label="归口管理部门" 
		              showPattern="all" shieldPattern="0" onClick="initTreeValue2"></cpt:tree> 
		    <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" >
		    <input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span> 项目报审级次（省补助<br/>资金拨付所属财政局）：</td>
	    <td>
			<c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
          	<cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  " readonly="true" value="${sub_step}"  label="项目报审级次" id="sub_step" onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
	        <input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />"/>
            <input id="sub_step_name" type="hidden" name="proposal/sub_step_name"  value="<x:out select="$xmlData/data/proposal/sub_step_name" />"/>
		</td>
		<td align="right"><span class="color_red">*</span> 项目申请金额<br/>（万元）：</td>
		<td><input id="project_money" name="proposal/project_money" label="项目申请金额" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		    class="input_css required maxlength:100" value="<x:out select="$xmlData/data/proposal/project_money" />"style="text-align: right;" /></td>	
	</tr>

	<tr>
		<td align="right" ><span class="color_red">*</span>联系人姓名：</td>
		<td><input type="text" id="" name="proposal/linkman_name" label="联系人姓名" class="input_css required maxlength:100" maxlength="20" style="" value="<x:out select="$xmlData/data/proposal/linkman_name" />"</td>
		<td align="right" ><span class="color_red">*</span>联系人手机：</td>
		<td><input type="text" id="" name="proposal/linkman_mobile" label="联系人手机" class="input_css required mobile" maxlength="20" onfocus="InitInput.setNumber(this,11,0,0);" style="" value="<x:out select="$xmlData/data/proposal/linkman_mobile" />"</td>
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>电子邮箱：</td>
		<td><input type="text" id="" name="proposal/email" label="电子邮箱" maxlength="50" class="input_css required email" style="" value="<x:out select="$xmlData/data/proposal/email" />"</td>
		<td align="right" ><span class="color_red">*</span>传真：</td>
		<td><input type="text" id="" name="proposal/fax" label="传真" class="input_css required maxlength:100" maxlength="100" style="" value="<x:out select="$xmlData/data/proposal/fax" />"</td>
	</tr>
	
	<tr>
		<td align="right" >注册时间 ：</td>
		<td align="center"><span name="proposal/regist_time"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date" /></span></td>
		<td align="right" ><span class="color_red">*</span>开始运营时间：</td>
		<td colspan="5"> <c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			<cpt:date id="start_date"  name="proposal/start_date" value="${start_date}" className="required date" label="开始运营时间" ></cpt:date> 
		</td>	
	</tr> 
	
	<tr>
		<td align="right">注册资本：</td>
		<td align="center"><span name="proposal/regist_zibeng"><x:out select="$xmlData/data/org_basic_info/registe_fund" />
		（万<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_fund_money_name" />）</span></td>
		<td align="right">注册地址 ：</td>
		<td align="left"><span name="proposal/regist_address"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" /></span></td>
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>孵化场地总面积（平方米）：</td>
		<td><input type="text" id="" name="proposal/mianji_sum" label="孵化场地总面积" class="input_css required maxlength:100" onfocus="InitInput.setNumber(this,9,2,2);" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/mianji_sum" />"</td>
		<td align="right" ><span class="color_red">*</span>在孵企业使用场地面积（平方米）：</td>
		<td><input type="text" id="" name="proposal/mianji_shiyong" label="在孵企业使用场地面积" class="input_css required maxlength:100" onfocus="InitInput.setNumber(this,9,2,2);" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/mianji_shiyong" />"</td>
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>在孵企业数量：</td>
		<td><input type="text" id="" name="proposal/qiye_num" label="在孵企业数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/qiye_num" />"</td>
		<td align="right" ><span class="color_red">*</span>当年新增在孵企业数量 ：</td>
		<td><input type="text" id="" name="proposal/qiye_add" label="当年新增在孵企业数量" onfocus="InitInput.setNumber(this,9,0,0);"  class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/qiye_add" />"</td>
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>累计毕业企业数量：</td>
		<td><input type="text" id="" name="proposal/qiye_sum" label="累计毕业企业数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/qiye_sum" />"</td>
		<td align="right" ><span class="color_red">*</span>当年毕业企业数量 ：</td>
		<td><input type="text" id="" name="proposal/qiye_biye" label="当年毕业企业数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/qiye_biye" />"</td>
	</tr>	
	
	<tr>
		<td align="right" ><span class="color_red">*</span>管理人员数量：</td>
		<td><input type="text" id="" name="proposal/admin_num" label="管理人员数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/admin_num" />"</td>
		<td align="right" ><span class="color_red">*</span>管理人员中大专以上学历数量 ：</td>
		<td><input type="text" id="" name="proposal/admin_dazhuang" label="管理人员中大专以上学历数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/admin_dazhuang" />"</td>
	</tr>	
	
	<tr>
		<td align="right" ><span class="color_red">*</span>管理人员接受专业培训<br/>人员数量：</td>
		<td><input type="text" id="" name="proposal/admin_peixun" label="管理人员接受专业培训人员数量" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100" style="text-align: right;" value="<x:out select="$xmlData/data/proposal/admin_peixun" />"</td>
		<td align="right" ><span class="color_red">*</span>当年开展创新创业活动次数 ：</td>
		<td><input type="text" id="" name="proposal/chuangye_num" label="当年开展创新创业活动次数" onfocus="InitInput.setNumber(this,9,0,0);" class="input_css required maxlength:100"  style="text-align: right;" value="<x:out select="$xmlData/data/proposal/chuangye_num" />"</td>
	</tr>	
	</tbody>
	
</table>
<br />
<div>注：请各孵化器对孵化器名称进行重新核实填报。</div>
<br />
<script type="text/javascript">
$(function(){
	 changeFhq();
 
});

function changeFhq(){
	if ($("input[id$='other04']").prop('checked')){
		$("input[id$='fuhuaqi_nature_other']").removeAttr("disabled");
		$("input[id$='fuhuaqi_nature_other']").removeAttr("class");
		$("input[id$='fuhuaqi_nature_other']").attr("class","required");
	}else{
 		$("input[id$='fuhuaqi_nature_other']").attr("disabled","disabled");
 		$("input[id$='fuhuaqi_nature_other']").attr("class","gray");
		$("input[id$='fuhuaqi_nature_other']").val(" ");
	}
}


 function initTreeValueExt(treeId, treeNode) {
	 	if ((treeNode && treeNode.isParent)) {
	 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
	 		$("#" + treeId).val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
	 		return false;
	 	}
	 	var str = treeNode.name;
	 	var obj = treeNode.parentNode;
	 	while (obj != null) {
	 		str = obj.name + "-" + str;
	 		obj = obj.parentNode;
	 	}
	 	
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
	 } 
</script>
